home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / rawstat / sun4.md / rawvmmach.c < prev   
Encoding:
C/C++ Source or Header  |  1989-08-25  |  1.2 KB  |  48 lines

  1. /* 
  2.  * rawvmmach.c --
  3.  *
  4.  *    Routine to print out raw machine dependent vm statistics.
  5.  *    This is the information in Vm_Stat.machDepStat
  6.  *
  7.  * Copyright 1989 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  */
  16.  
  17. #ifndef lint
  18. static char rcsid[] = "$Header: /sprite/lib/forms/RCS/proto.c,v 1.2 89/01/07 04:12:18 rab Exp $ SPRITE (Berkeley)";
  19. #endif /* not lint */
  20.  
  21. #include "vmStat.h"
  22.  
  23.  
  24. /*
  25.  *----------------------------------------------------------------------
  26.  *
  27.  * VmMach_PrintStats --
  28.  *
  29.  *    Prints out the machine dependent part of the Vm_Stat structure.
  30.  *
  31.  * Results:
  32.  *    None.
  33.  *
  34.  * Side effects:
  35.  *    None.
  36.  *
  37.  *----------------------------------------------------------------------
  38.  */
  39.  
  40. void
  41. VmMach_PrintStats(X)
  42.     Vm_Stat *X;
  43. {
  44.     ZeroPrint("stealContext   %8u\n", X->machDepStat.stealContext);
  45.     ZeroPrint("stealPmeg      %8u\n", X->machDepStat.stealPmeg);    
  46. }
  47.  
  48.